.PHNOY:all
all:tcpserver.exe tcpclient.exe

tcpclient.exe:tcpclient.cpp
	g++ -o $@ $^ -std=c++11

tcpserver.exe:main.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHNOY:clean
clean:
	rm -rf *.exe